package com.gxa.service;

import com.gxa.common.JsonResult;
import com.gxa.common.PageRecv;
import com.gxa.common.R;
import com.gxa.pojo.Employee;
import com.gxa.pojo.Workreport;

import java.util.List;

public interface WorkReportSercvice {
    /**
     * 查询
     * @param currentPage
     * @param pageSize
     * @return
     */
    JsonResult queryWorkRep(Integer currentPage, Integer pageSize);

    /**
     * 批注
     * @param workreport
     * @return
     */
    R commentWorkRep(Workreport workreport);

    /**
     * 根据id进行删除
     * @param id
     * @return
     */
    R deleteWorkRep(Integer id);

    /**
     * 添加
     * @param workreport
     * @return
     */
    R addWorkRep(Workreport workreport);

    /**
     * 根据部门查员工姓名
     * @param
     * @return
     */
    JsonResult queryEmpByDeptId(Employee employee);


    JsonResult searchquery(PageRecv<Workreport> pageRecv);
}
